A=[1 -2; 1 3]
P=[-1 -1; 1 0];
C=[2 -1; 1 2];
P*C*inv(P)